Add the following constructor:
public Main() {
super();
NSMutableDictionary defaultValues = new NSMutableDictionary();
defaultValues.setObjectForKey("New Movie Title", "title");
movieDisplayGroup.setInsertedObjectDefaultValues(defaultValues);
}
This method assigns the value "New Movie Title" as the default value for a new movie's title attribute. When movieDisplayGroup inserts a new movie (as it does when a user clicks the Insert/New button), it creates a new movie and assigns this default value to that movie.